// global.scss 示例内容
$primary-color: #409EFF;
$primary-color: #13ce66;
$secondary-color: #409eff;
$danger-color: #f56c6c;
$background-color: #f8fafb;

.confirm-exam-container {
    background: $background-color;
    padding: 32px;
    height: calc(100% - 128px);
    margin: 0 auto;

    .header-section {
        margin-bottom: 40px;

        .title-box {
            margin-bottom: 16px;

            .title-icon {
                font-size: 36px;
                color: $primary-color;
                margin-right: 16px;
            }

            .title-text {
                color: darken($primary-color, 15%);
                font-size: 32px;
                text-shadow: 0 2px 4px rgba(19, 206, 102, 0.1);
            }
        }

        .system-status {
            gap: 32px;

            .time-info,
            .exam-count {
                gap: 8px;
                color: #606266;
                font-size: 14px;
            }
        }
    }

    .glow-card {
        border: none;
        border-radius: 12px;
        box-shadow: 0 4px 16px rgba(19, 206, 102, 0.1);
        transition: transform 0.3s ease;

        &:hover {
            // transform: translateY(-4px);
        }
    }

    .panel-header {
        margin-bottom: 24px;
        padding-bottom: 16px;
        border-bottom: 1px solid #e8f4e9;

        .panel-title {
            font-size: 20px;
            color: darken($primary-color, 10%);
            margin-left: 12px;
        }

        .el-icon {
            font-size: 24px;
            color: $primary-color;
        }
    }

    .info-detail {
        :deep(.el-descriptions__label) {
            width: 100px;
            color: #606266;
            font-weight: 500;
        }

        .highlight-text {
            color: #303133;
            font-size: 16px;
            font-weight: 600;
        }

        .id-info {
            gap: 16px;

            .gender-tag {
                padding: 4px 12px;
                border-radius: 4px;
                background: lighten($primary-color, 40%);
                color: darken($primary-color, 15%);
            }
        }

        .organization {
            gap: 8px;
            color: #606266;
        }
    }

    .exam-table {
        :deep(.el-table__row) {
            transition: all 0.3s ease;

            &:hover {
                box-shadow: 0 2px 8px rgba(19, 206, 102, 0.1);
            }
        }

        .status-tag {
            padding: 8px 16px;
            border-radius: 20px;
            font-weight: 500;

            &-pending {
                background: lighten($secondary-color, 35%);
                color: darken($secondary-color, 15%);
            }

            &-finished {
                background: lighten($primary-color, 40%);
                color: darken($primary-color, 15%);
            }

            &-timeout {
                background: lighten($danger-color, 35%);
                color: darken($danger-color, 15%);
            }
        }

        .action-btn {
            padding: 10px 20px;
            border-radius: 8px;
            font-weight: 500;
            transition: all 0.3s ease;

            &:hover {
                box-shadow: 0 4px 12px rgba(19, 206, 102, 0.2);
            }
        }
    }
}

// 统一表单元素样式
.el-form {
    &-item__label {
        font-weight: 500;
    }

    .el-input__inner {
        border-radius: 8px;
    }
}

// 考试时间红色警示
.exam-timer-alert {
    color: #f56c6c;
    font-weight: bold;
}